package org.jash.demo2205.mvvm

import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import org.jash.demo2205.APIService
import org.jash.demo2205.utils.retrofit

open class BaseViewModel:ViewModel() {
    val service:APIService by lazy { retrofit.create(APIService::class.java) }
    val failureLiveData:MutableLiveData<Throwable> by lazy { MutableLiveData() }
}